<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>04盒子模型内容max-min-width</title>
    <style>
        .home {
            height: 300px;
            background-color: pink;
            max-width: 750px;
            /* 
                防止无限缩小，页面变得不可用
             */
            min-width: 400px;
            /* 
                块级元素在父元素中居中
            */
            margin: 0 auto;
        }
    </style>
</head>

<body>
    <div class="home">

    </div>
</body>

</html>